#include "stm32f10x.h"     
#include "delay.h"
#include "key.h"
#include "led.h"

int main()
{

uint8_t keyCode;
	Key_Init();
	LED_Init();


	
while(1){	
		keyCode = Key_GetKeyCode();
		if(keyCode==1){
			LED1_Turn();
		}
		if(keyCode==2){
			// 业务方法
			LED2_Turn();
		}
	}	
}





















